package com.softeem.musicserver.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理员信息")
@Data
public class Admin {

    @Schema(description = "管理员id,自动生成，无需手动添加")
    private Integer id;
    @Schema(description = "账号")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "账号创建时间")
    private LocalDateTime addtime;
    @Schema(description = "状态：0-正常；1-禁用")
    private Integer status;
    @Schema(description = "随机盐")
    private String salt;

}
